package cz.data.domain.system.dao;

import cz.data.common.mybatis.BaseDao;
import cz.data.domain.system.model.entity.DeptRelationEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptRelationDao extends BaseDao<DeptRelationEntity> {

    void insertBatch(List<DeptRelationEntity> list);

    void deleteByAncestor(String id);
}
